package com.lsh.oms.core.enums;

/**
 *
 * @author huangdong
 * @date 16/8/5
 */
public enum YN implements AbstractEnum<Integer> {

    Y(1, "是"), N(0, "否");

    private final Integer value;

    private final String desc;

    YN(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
